﻿<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width,scale=1.0,user-scalable" />
  <title>软装设计</title>
  <link href="images/common.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="js/jquery.js"></script>
  <script>
    var is_iPd = navigator.userAgent.match(/(iPad|iPod|iPhone)/i) != null;
    var url_m = window.location.href.replace("zhaoshang/pc", "zhaoshang/wap");
    if (/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))) {
      if (window.location.href.indexOf("?mobile") < 0) {
        try {
          if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
            window.location.href = url_m;
          }
        } catch (e) { }
      }
    }

    var kvindex = 1;
    var kvcount = 3;
    var kvtime = 5000;
    var _timeout = null;
    function SetKv(k) {
      if (k == kvindex || kvcount == 1)
        return;

      clearTimeout(_timeout);
      if (k == 0)
        k = kvindex + 1;
      if (k > kvcount)
        k = 1;
      $("#kvp" + kvindex).removeClass("cur");
      $("#kv" + kvindex).animate({ opacity: 'hide' }, "slow");
      kvindex = k;
      $("#kvp" + k).addClass("cur");
      $("#kv" + k).animate({ opacity: 'show' }, "slow");
      _timeout = setInterval("SetKv(0)", kvtime);
    }
    $(function () {
      _timeout = setInterval("SetKv(0)", kvtime);
    });

    //验证手机
    function ValidateMobile(mobile) {
      var a = /^((\(\d{3}\))|(\d{3}\-))?13\d{9}|14\d{9}|15\d{9}|16\d{9}|17\d{9}|18\d{9}|19\d{9}$/;
      if (mobile.length != 11 || !mobile.match(a)) {
        return false;
      }
      return true;
    }

    function SubZtJoin(pre) {
      var info = "";
      var object = "";
      var TrueName = $("#" + pre + "TrueName").val();
      if (TrueName == "" && info == "") {
        info = "请填写您的姓名";
        object = pre + "TrueName";
      }
      var Tel = $("#" + pre + "Tel").val();
      if (Tel == "" && info == "") {
        info = "请填写手机号码";
        object = pre + "Tel";
      }
      else if (!ValidateMobile(Tel) && info == "") {
        info = "请填写正确的手机号码";
        object = pre + "Tel";
      }
      var Area = $("#" + pre + "Area").val();
      if (Area == "" && info == "") {
        info = "请输入面积（㎡）";
        object = pre + "Area";
      }
      var Intro = "";
      if (pre == "")
        Intro = $("#Intro").val();
      if (info != "") {
        alert(info);
        if (object != "")
          $("#" + object).focus();
        return;
      }
      else {
        $.ajax({
          type: "POST",
          url: "http://106.54.225.114:8080/open/customer/baseinfo/add",
          data: {
            "userId": 100,
            "userName": TrueName,
            "phoneNumber": Tel,
            "areaSize": Area,
            "message": Intro
          },
          beforeSend: function () { },
          error: function () { alert("系统繁忙！"); },
          success: function (data) {
            data = JSON.parse(data);
            if (data.code == 0) {
              alert("提交成功！客服人员将尽快与您联系，请耐心等候哦！");
              location.href = "#";
            }
            else {
              alert(data.msg);
            }
          }
        });
      }
    }    </script>
  <!-- <script>
    (function () {
      var _53code = document.createElement("script");
      _53code.src = "https://tb.53kf.com/code/code/cca403b0c3487e206a339fbdf35994e0/1";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(_53code, s);
    })(); </script> -->
</head>

<body style="margin:0;; padding:0;">
  <script type="text/javascript">
    var widthSize = '100%';
    var lyid = 1000;
    var baseurl = window.location;
  </script>
  <!--顶部导航
<script src="js/lybook_top.js"></script>
-->
  <div style="width:100%; margin:0 auto;">
    <div class="content">
      <style>
        .content img {
          width: 100%;
          margin: 0 auto
        }
      </style>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_00.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_01.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_02.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_03.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_04.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_05.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_06.jpg"></div>
      <div><img src="https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_07.jpg"></div>
      <!--<div><img src="images/p9.jpg"></div>
    <div><img src="images/p10.jpg"></div>-->
      <div class="cbox" style="height:827px; background:url(https://customer-1300336230.cos.ap-chengdu.myqcloud.com/zhaoshang/pc/images/2019-09-23_112022_09.jpg) top center no-repeat;">
        <div class="vbox2">
          <div class="inp" style="top:293px;">
            <input type="text" id="TrueName" name="TrueName" maxlength="50" placeholder="请输入您的姓名" />
          </div>
          <div class="inp" style="top:361px;">
            <input type="text" id="Tel" name="Tel" maxlength="11" placeholder="请输入您的手机号" />
          </div>
          <div class="inp" style="top:432px;">
            <input type="text" id="Area" name="Area" maxlength="50" placeholder="请输入面积（㎡）" />
          </div>
          <div class="inpbox">
            <textarea name="Intro" id="Intro"></textarea>
          </div>
          <a href="javascript:void(0)" onclick="SubZtJoin('')"></a>
        </div>
      </div>
    </div>
  </div>
  <!-- <script src="http://lybook.9155.cn/bookjs/banquan.js"></script><br /> -->
  <br />
  <br />
</body>

</html>